Mergado\Service\External\Google\GoogleAnalytics\GA4\Ga4ServiceIntegration D

Total Complexity 144
Dependencies 24
Dependents 3
Total lines 821
Lines of code 572
Logical lines of code 285
Comment lines 53
Methods 32
Properties 2

Methods 32

Method Rating Maintainability Complexity Lines of code
purchase()
A
39 9 63
getCartProductAppliedCoupons()
A
52 11 22
productDetailView()
A
42 9 51
getOrderProductAppliedCoupons()
A
55 11 18
viewItemList()
A
50 9 27
refundPartial()
A
47 8 37
getCartEventItemsObject()
S
47 5 35
getOrderCouponData()
S
49 5 33
orderStatusChanged()
S
55 6 18
getShippingMethods()
S
57 6 17
addShippingInfo()
S
59 5 15
addToCart()
S
48 3 34
refundFull()
S
57 4 16
removeFromCart()
S
57 4 16
getCartValue()
S
60 4 14
addPaymentInfo()
S
62 4 12
beginCheckout()
S
64 4 11
addToCartAjax()
S
57 3 17
search()
S
63 4 10
viewCart()
S
63 4 10
pushRefundEvent()
S
61 3 13
getPaymentMethods()
S
63 3 11
getFormattedAnalyticsCode()
S
67 3 7
insertHeaderAdmin()
S
69 3 6
addCartData()
S
67 3 7
getPurchaseProductPrices()
S
59 2 13
getCartProductPrices()
S
59 2 13
getDiscount()
S
77 2 3
actionShippingRate()
S
71 2 6
getCartGlobalCoupon()
S
79 1 3
getCartDataObject()
S
65 1 10
__construct()
S
76 1 4